package cn.iocoder.yudao.module.bk.controller.admin.lwbook.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author Administrator
 */
@Schema(description = "管理后台 - 来往书籍新增/修改 Request VO")
@Data
public class LwBookInReq {

    @Schema(description = "书名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "书名不能为空")
    private String title;

    @Schema(description = "isbn编号")
    private String isbn;

    @Schema(description = "出版社")
    private String publisher;

    @Schema(description = "出版时间")
    private String pubDate;

    @Schema(description = "页数", example = "3697")
    private Integer pageCount;


}
